<%@ Control Language="C#" AutoEventWireup="true" CodeFile="TourManagement.ascx.cs" Inherits="admin_TourManagement" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<%@ Register Assembly="FredCK.FCKeditorV2, Version=2.6.3.22452, Culture=neutral, PublicKeyToken=4f86767c9b519a06"
    Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>


<table>
    <tr>
        <td style="width: 111px; height: 40px;">
            <asp:Label ID="Label1" runat="server" Text="Name:"></asp:Label></td>
        <td style="width: 100px; height: 40px;">
            <asp:TextBox ID="txtName" runat="server"></asp:TextBox></td>
        <td style="width: 100px; height: 40px;">
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtName"
                ErrorMessage="'Name' is required" ValidationGroup="A">*</asp:RequiredFieldValidator></td>
        <td style="width: 207px; height: 40px;">
            <asp:Label ID="Label7" runat="server" Text="Tag:"></asp:Label></td>
        <td style="width: 128px; height: 40px;">
        </td>
    </tr>
    <tr>
        <td style="width: 111px">
            <asp:Label ID="Label2" runat="server" Text="Location:"></asp:Label></td>
        <td style="width: 100px">
            <asp:DropDownList ID="ddlLocation" runat="server">
            </asp:DropDownList></td>
        <td style="width: 100px">
        </td>
        <td colspan="2">
            <asp:TextBox ID="txtTag" runat="server"></asp:TextBox></td>
    </tr>
    <tr>
        <td style="width: 111px">
            <asp:Label ID="Label3" runat="server" Text="Region:"></asp:Label></td>
        <td style="width: 100px">
            <asp:DropDownList ID="ddlRegion" runat="server">
            </asp:DropDownList></td>
        <td style="width: 100px">
        </td>
        <td colspan="2">
            <asp:Label ID="Label8" runat="server" Text="Is recommended: "></asp:Label><asp:CheckBox ID="chkIsRecommended" runat="server" /></td>
    </tr>
    <tr>
        <td style="width: 111px">
            <asp:Label ID="Label4" runat="server" Text="During:"></asp:Label></td>
        <td style="width: 100px">
            <asp:TextBox ID="txtDuring" runat="server">0</asp:TextBox></td>
        <td style="width: 100px">
            <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ControlToValidate="txtDuring"
                Display="Dynamic" ErrorMessage="Invalid number format for During field" ValidationExpression="\d+"
                ValidationGroup="A">*</asp:RegularExpressionValidator>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtDuring"
                Display="Dynamic" ErrorMessage="Required" ValidationGroup="A">*</asp:RequiredFieldValidator></td>
        <td colspan="2">
            <asp:Label ID="Label9" runat="server" Text="Published: "></asp:Label><asp:CheckBox ID="chkState" runat="server" /></td>
    </tr>
    <tr>
        <td style="width: 111px">
            Price:</td>
        <td style="width: 100px">
            <asp:TextBox ID="txtPrice" runat="server">0</asp:TextBox></td>
        <td style="width: 100px">
            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtPrice"
                ErrorMessage="Invalid number format for Price" ValidationExpression="\d+(\.\d+)?" Display="Dynamic" ValidationGroup="A">*</asp:RegularExpressionValidator>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtPrice"
                Display="Dynamic" ErrorMessage="RequiredFieldValidator" ValidationGroup="A">*</asp:RequiredFieldValidator></td>
        <td colspan="2">
            <asp:LinkButton ID="lnkAdd" runat="server" CssClass="c_button" OnClick="LinkButton1_Click" >Add</asp:LinkButton>
           <asp:LinkButton ID="lnkUpdate" runat="server" CssClass="c_button" OnClick="lnkUpdate_Click">Update</asp:LinkButton>
            <asp:LinkButton ID="lnkDelete" runat="server" CssClass="c_button" OnClick="lnkDelete_Click" OnClientClick="return confirm('Are you sure want to delete?');">Delete</asp:LinkButton>
           
        </td>
    </tr>
    <tr>
        <td style="width: 111px">
            Discount:</td>
        <td style="width: 100px">
            <asp:TextBox ID="txtDiscount" runat="server"></asp:TextBox></td>
        <td style="width: 100px">
            <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="txtDiscount"
                Display="Dynamic" ErrorMessage="'Discount' is required" ValidationExpression="\d+(\.\d+)?"
                ValidationGroup="A">*</asp:RegularExpressionValidator>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtDiscount"
                ErrorMessage="Required" Display="Dynamic" ValidationGroup="A">*</asp:RequiredFieldValidator></td>
        <td style="width: 207px">
            </td>
        <td style="width: 128px">
        </td>
    </tr>
    <tr>
        <td style="width: 111px; height: 26px">
            <asp:Label ID="Label5" runat="server" Text="Description:"></asp:Label></td>
        <td style="width: 100px; height: 26px">
            <asp:TextBox ID="txtDescription" runat="server"></asp:TextBox></td>
        <td style="width: 100px; height: 26px">
        </td>
        <td style="width: 207px; height: 26px">
        </td>
        <td style="width: 128px; height: 26px">
        </td>
    </tr>
    <tr>
        <td style="width: 111px; height: 24px">
            <asp:Label ID="Label6" runat="server" Text="Image URL:"></asp:Label></td>
        <td  style="height: 24px">
            <input id="txtImage" name="txtImage" type="text" value="<%=ImageURL %>" /></td><td  style="height: 24px">
            <input id="btnBrowseImage" type="button" value="Browse" onclick="browseFile()" /></td>
        <td style="width: 207px; height: 24px">
        </td>
        <td style="width: 128px; height: 24px">
        </td>
    </tr>
    <tr>
        <td style="width: 111px">
        </td>
        <td style="width: 100px">
            <img id="imgRepresentimage" src="<%=ImageURL %>" /></td>
        <td style="width: 100px">
        </td>
        <td style="width: 207px">
        </td>
        <td style="width: 128px">
        </td>
    </tr>
    <tr>
        <td style="width: 111px">
            <asp:Label ID="Label10" runat="server" Text="Article"></asp:Label></td>
        <td style="width: 100px">
        </td>
        <td style="width: 100px">
        </td>
        <td style="width: 207px">
        </td>
        <td style="width: 128px">
        </td>
    </tr>
    <tr>
        <td colspan="5">
            <FCKeditorV2:FCKeditor id="fckContent" runat="server" BasePath="~/fckeditor/" Height="400px">
            </FCKeditorV2:FCKeditor></td>
    </tr>
    <tr>
        <td style="width: 111px">
        </td>
        <td style="width: 100px">
        </td>
        <td style="width: 100px">
        </td>
        <td style="width: 207px">
        </td>
        <td style="width: 128px">
        </td>
    </tr>
    <tr>
        <td style="width: 111px">
        </td>
        <td style="width: 100px">
        </td>
        <td style="width: 100px">
        </td>
        <td style="width: 207px">
        </td>
        <td style="width: 128px">
        </td>
    </tr>
</table>
<script type="text/javascript" language="javascript">    
	window.location.hash="<%=ActiveAccording %>";
</script>